package br.com.siscob.controller;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@SessionScoped
@ManagedBean
public class Navegacao {
	private String form = "logo.xhtml";
		

	
	public void setCadFuncionario(){
		setForm("cadFuncionario.xhtml");
	}
	
	public void setConsultaFuncionario(){
		setForm("funcionarioConsulta.xhtml");
	}
	
	public void setCadProfessor(){
		setForm("cadProfessor.xhtml");
	}

	public void setCadAluno(){
		setForm("cadAluno.xhtml");
	}
	
	public void setCadItemAcervo(){
		setForm("cadItemAcervo.xhtml");
	}
	public String getForm() {
		return form;
	}

	public void setForm(String form) {
		this.form = form;
	}
	
}
